package com.google.code.dnaep.jdo;

import java.util.Collection;

import javax.jdo.annotations.NotPersistent;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

import com.google.appengine.api.datastore.Key;
import com.google.code.dnaep.jdo.annotations.PolymorphicRelationship;

@PersistenceCapable
public class TestParentCollection extends TestParent {

	@Persistent
	public Collection<Key> myChildKeys;
	
	@NotPersistent
	@PolymorphicRelationship(keyField = "myChildKeys")
	public Collection<TestChild> myChildren;
	
}